package com.secondGroup.mapper;

import com.secondGroup.entity.ElectronicAccount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ws
 * @since 2022-05-05
 */
@Mapper
public interface ElectronicAccountMapper extends BaseMapper<ElectronicAccount> {

    @Select("SELECT e_id,account,e_name,e_money,e_pay_password FROM t_electronic_account WHERE e_id = #{eId}")
    ElectronicAccount selectElectronic(String eId);

}
